package com.knowledgebase;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = {"com.knowledgebase"})
@EnableTransactionManagement   // 开启事务
@EnableAsync  //开启异步
@EnableScheduling  //开启任务调度
public class KnowledgeBaseApiApplication {
    public static void main(String[] args) {
        SpringApplication.run(KnowledgeBaseApiApplication.class,args);
    }
}
